-
Home
-
CommerceBird
-
2.5.2
-
Code
-
Classes
- SettingsAjax
| Total Complexity |
49 |
| Dependencies |
2 |
| Dependents |
5 |
| Total lines |
354 |
| Lines of code |
212 |
| Logical lines of code |
112 |
| Comment lines |
76 |
| Methods |
12 |
| Properties |
0 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize_subscription_data() |
B |
40 |
18 |
64 |
| get_subscription_data() |
A |
49 |
8 |
31 |
| settings_set() |
S |
51 |
6 |
25 |
| subscription_get() |
S |
48 |
5 |
37 |
| validate_subscription_id() |
S |
74 |
3 |
4 |
| get_empty_subscription_structure() |
S |
57 |
1 |
19 |
| validate_email() |
S |
75 |
2 |
4 |
| validate_token() |
S |
74 |
2 |
4 |
| __construct() |
S |
82 |
1 |
3 |
| settings_reset() |
S |
66 |
1 |
8 |
| settings_get() |
S |
64 |
1 |
10 |
| get_token() |
S |
78 |
1 |
3 |